package com.smart.village.big.screen.mapper;

import com.alibaba.fastjson.JSONObject;
import com.smart.village.big.screen.domain.NewsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MicroSmartMoHeResidentMapper {
    List<JSONObject> getThreeAffairsDisclosureList(String townNumber, String villageNumber,
                                                   String partOrganizationSerialNumber, String type,
                                                   String beginDate, String endDate);

    JSONObject getThreeAffairsDisclosureDetail(String affairsSerialNumber);

    List<JSONObject> getThreeAffairsDisclosureDetailAttachmentList(String affairsSerialNumber);

    List<JSONObject> getSubsidyPolicyList(String year,String search);

    List<JSONObject> getSubsidyPolicyAgriculturalMachinery(String year,String search);

    JSONObject getSubsidyPolicyBySerialNumber(String policySerialNumber);

    List<JSONObject>  getSubsidyPolicyDetailsBySerialNumber(String policySerialNumber);
    List<JSONObject>  getSubsidyApplicationActualDistributeListByApplicationDistributionNumber(String applicationDistributionSerialNumber);

    JSONObject getSubsidyPolicyAgriculturalMachineryBySerialNumber(String policySerialNumber);

    JSONObject getDistrictIntroduction(String districtNumber);

    List<JSONObject> getMyServiceMemberList(String iDCardNumber, String role);

    List<JSONObject> getPatrolCheckInList(String phone, String beginDate, String endDate);
    int getPatrolCheckInTotalCnt(String phone, String year);

    List<JSONObject> getWorkTeamsByVillageNumber(String villageNumber);

    List<JSONObject> getWorkTeamsMembersByTeamSerialNumber(String teamSerialNumber);

    List<JSONObject> getProjectOnlineNewsList(String NewsTerminal,String townNumber, String villageNumber, String categorySerialNumber, String beginDate, String endDate,String search);

    List<JSONObject> getVolunteerTeamsActivities(String status, String idCardNumber);

    JSONObject getVolunteerTeamsActivitiesDetail(String volunteerTeamsActivitiesSerialNumber);

    List<JSONObject> getVillageActivities(String status, String idCardNumber, String villageNumber, String assembly);
    List<JSONObject> getVillageActivitiesIfMyPartyIn(String villageActivitySerialNumber, String idCardNumber);

    JSONObject getVillageActivitiesDetail(String villageActivitiesSerialNumber,String iDCardNumber);

    List<JSONObject> getListTypeByParentSerialNumber(String parentSerialNumber);

    List<JSONObject> getListManagement(String listTypeSerialNumber,String townNumber,String villageNumber,String level,String search);

    List<JSONObject> getListMaterial(String listManagementSerialNumber);

    List<JSONObject> getListManagementAttachment(String listManagementSerialNumber);

    JSONObject getListManagementDetail(String listManagementSerialNumber);

    List<JSONObject> getMyVillageSaleOrderList(String idCardNumber);

    List<JSONObject> getMyComplaints(String phone, String status);

    JSONObject getMyComplaintsDetail(String complaintId);

    List<JSONObject> getMyVillageSaleOrderIncome(String idCardNumber);

    List<JSONObject> getMyVillageSaleOrderExpenditure(String idCardNumber);

    JSONObject getMyPoints(String idCardNumber);

    List<JSONObject> getThreeResourceDisclosureList(String townNumber, String villageNumber, String category, String beginDate, String endDate,String NewsTerminal);

    List<NewsVo> getNoticePublish(String townNumber, String villageNumber, int environment,String NewsTerminal);

    List<NewsVo> getLawPopularization(String newsTagSerialNumber, int environment,String NewsTerminal);

    List<JSONObject> getLawPopularizationTagList();

    List<JSONObject> getAntiPhishingTagList();

    List<NewsVo> getAntiPhishing(String newsTagSerialNumber, int environment,String NewsTerminal);

    JSONObject getNewsDetail(String newsSerialNumber);

    List<JSONObject> getNewsPictureList(String newsSerialNumber);

    void updateNewsViewsCount(String newsSerialNumber);

    List<JSONObject> getIntegralMall(String townNumber, String villageNumber,String categoryName);

    List<JSONObject> getIntegralMallCategory();

    JSONObject getIntegralMallDetail(String specificationsSerialNumber);

    JSONObject getMicroPartyMemberInformationByPhone(String phone);

    List<JSONObject> getIntegralApplicationList(String phone, String status);

    JSONObject getIntegralApplicationDetail(String personalPointsApplicationSerialNumber);


    List<JSONObject> getMySubsidyPolicyList(String idCardNumber, String townNumber, String villageNumber, String search,String status,String year);

    List<JSONObject> getMySubsidyPolicyDetail(String applicationSerialNumber);
    List<JSONObject> getMySubsidyApplicationAttachment(String applicationSerialNumber);

    List<JSONObject> getMySubsidyPolicyCorpList(String policySerialNumber);

    List<JSONObject> getMySubsidyPolicyAgriculturalMachineryList(String idCardNumber, String search,String status,String year);

    List<JSONObject> getMySubsidyPolicyAgriculturalMachineryDetail(String applicationSerialNumber);

    List<JSONObject> getMyComplaintMoheList(String phone, String status);

    List<JSONObject> getMyRatingMoheList(String phone, String status, String source);

    JSONObject getMyRatingMoheDetail(String complaintId,String source);

    List<JSONObject> getMyAllShopList(String iDCardNumber, String category);

    List<JSONObject> getMyShopBookList(String iDCardNumber, String status);

    List<JSONObject> getMyHelpList(String phone, String status);

    List<JSONObject> getMyApplyList(String phone, String status);

    JSONObject getMyApplyDetail(String applicationSerialNumber);

    List<JSONObject> getMyApplyDetailAttachList(String applicationSerialNumber);

    int getPersonCnt(String townNumber, String villageNumber);

    int getHuCnt(String townNumber, String villageNumber);

    int getPartyMemberCnt(String townNumber, String villageNumber);

    int getCanjiPersonCnt(String townNumber, String villageNumber);

    int getPinkunPersonCnt(String townNumber, String villageNumber);

    int getTuiyiJunrenPersonCnt(String townNumber, String villageNumber);

    List<JSONObject> getVillageContactList(String townNumber, String villageNumber,String search);

    List<JSONObject> getPartyOrgListByTownVillageNumber(String townNumber, String villageNumber);

    List<JSONObject> getConvenientServiceList(String townNumber, String villageNumber, String search, String[] category, String type);

    JSONObject getConvenientServiceDetail(String agriculturalMachinerySerialNumber);

    List<JSONObject> getMyConvenientServiceList(String phone, String category, String type);

    JSONObject getMicroAccountInformation(String phone);

    List<JSONObject>  getLawMatrix(String type,String search);

    List<JSONObject> getConvenientServiceCategory();

    List<JSONObject> getMapBluePlateByTagsAndCoords(String tagSerialNumber, String search, String km, String currentCoords);

    JSONObject getMapBluePlateDetail(String bluePlateSerialNumber, String tagSerialNumber);

    List<JSONObject> getCarouselConfig();

    List<JSONObject> getBluePlateImageList(String bluePlateSerialNumber);

    JSONObject getMyHelpListDetail(String applicationSerialNumber);

    List<JSONObject> getMyHelpListDetailAttachList(String applicationSerialNumber);

    List<NewsVo> getCadreSelectionAppointment(String townNumber, String villageNumber,String yearMonth, String NewsTerminal);

    List<JSONObject> getLeaveWord(String phone, String replyStatus);

    List<JSONObject> getAgricultureResourceServiceList(String townNumber, String villageNumber,String search);

    JSONObject getAgricultureResourceServiceDetail(String shopSerialNumber);

    List<JSONObject> getAgricultureResourceList(String shopSerialNumber);

    List<JSONObject> getMyRoundTripRegistrationList(String phone);

    JSONObject getMyRoundTripRegistrationDetail(String registrationSerialNumber);

    List<JSONObject> getMyRoundTripRegistrationEntourageList(String registrationSerialNumber);

    List<JSONObject> getMicroAccountInformationPosition(String idCardNumber,String villageNumber);

    int getGridManagerPermission(String idCardNumber);

    int getPatrolManagerPermission(String idCardNumber);

    List<JSONObject> getConvenientServiceDetailAttachList(String agriculturalMachinerySerialNumber);

    List<JSONObject> getMyVillageProject(String phone,String[] status);

    JSONObject getMyVillageProjectDetail(String projectSerialNumber);

    List<JSONObject> getMyVillageProjectLogs(String projectSerialNumber);

    List<JSONObject> getMyVillageProjectLogsAttachment(String projectLogSerialNumber);

    List<JSONObject> getThreeAffairsDisclosureType();

    List<JSONObject> getThreeResourceDisclosureType();

    JSONObject getMyComplaintMoheDetail(String complaintId);

    List<JSONObject> getMyComplaintMoheDetailAttachment(String complaintId);

    List<JSONObject> getMyContractNatureResourceList(String iDCardNumber);

    List<JSONObject> getVillageLeaderPositionInformation(String villageNumber);

    List<JSONObject> getMyBenefitList(String phone, String status);

    List<JSONObject> getMyGridMemberListByIdCardNumber(String iDCardNumber);

    List<JSONObject> getSignInformationList(String phone,String yearMonth);

    List<JSONObject> getHelpListDetailReplyList(String applicationSerialNumber);

    List<JSONObject> getHelpListDetailReplyAttachList(String applicationReplySerialNumber);
}
